<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="leaveForm">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">
                                用户名称：
                            </label>
                            <div class="col-sm-8">
                                <label class=" control-label" th:text="${leave.userName}"></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">
                                请假开始时间：
                            </label>
                            <div class="col-sm-8">
                                <label class=" control-label" th:text="${leave.leaveStart}"></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">
                                请假结束时间：
                            </label>
                            <div class="col-sm-8">
                                <label class=" control-label" th:text="${leave.leaveEnd}"></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">
                                请假类型：
                            </label>
                            <div class="col-sm-8">
                                <label class=" control-label" th:text="${leave.leaveTypeName}"></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">
                                备注信息：
                            </label>
                            <div class="col-sm-8">
                                <textarea id="remark" name="remark" class="form-control"
                                          title="" type="text" th:text="${leave.remark}"></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">
                                <em style="color: red;font-style: normal;">*</em>
                                审核结果：
                            </label>
                            <div class="col-sm-8">
                                <input id="agreeStatusName" name="agreeStatusName" title="" class="hidden">
                                <select id="agreeStatus" name="agreeStatus" data-placeholder="审核结果" title=""
                                        class="form-control chosen-select" style="width: 100%">
                                    <option value="">请选择审核结果</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">
                                <em style="color: red;font-style: normal;">*</em>
                                审核备注：
                            </label>
                            <div class="col-sm-8">
                                <textarea id="agreeRemark" name="agreeRemark" class="form-control"
                                          title="" type="text"></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <input id="id" name="id" title="" th:value="${leave.id}" class="hidden">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script th:src="@{/appjs/yw/leave/edit.js}"></script>
<script th:src="@{/component/laydate/laydate.js}"></script>
</body>
</html>
